package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网络攻击表对象 tb_net_attack
 * 
 * @author ruoyi
 * @date 2025-02-20
 */
public class TbNetAttack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private String netId;

    /** 发生时间 */
    @Excel(name = "发生时间")
    private String time;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String institutionCode;

    /** 机构简称 */
    @Excel(name = "机构简称")
    private String institutionShort;

    /** 攻击源地址 */
    @Excel(name = "攻击源地址")
    private String sourceIp;

    /** 攻击源端口 */
    @Excel(name = "攻击源端口")
    private String sourcePort;

    /** 协议 */
    @Excel(name = "协议")
    private String protocol;

    /** 攻击目的地址 */
    @Excel(name = "攻击目的地址")
    private String destinationIp;

    /** 攻击目的地址端口号 */
    @Excel(name = "攻击目的地址端口号")
    private String destinationPort;

    /** 目标系统（网上银行/手机银行） */
    @Excel(name = "目标系统", readConverterExp = "网=上银行/手机银行")
    private String targetSystem;

    /** 攻击类型 */
    @Excel(name = "攻击类型")
    private String attackType;

    /** 攻击类型细分子类  */
    @Excel(name = "攻击类型细分子类 ")
    private String attackTypeSub;

    /** 是否已封禁 */
    @Excel(name = "是否已封禁")
    private String isBanned;

    /** 是否已阻断 */
    @Excel(name = "是否已阻断")
    private String isBlocked;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String status;

    /** 指标有效标志 */
    @Excel(name = "指标有效标志")
    private String delFlag;

    public void setNetId(String netId) 
    {
        this.netId = netId;
    }

    public String getNetId() 
    {
        return netId;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setInstitutionShort(String institutionShort) 
    {
        this.institutionShort = institutionShort;
    }

    public String getInstitutionShort() 
    {
        return institutionShort;
    }
    public void setSourceIp(String sourceIp) 
    {
        this.sourceIp = sourceIp;
    }

    public String getSourceIp() 
    {
        return sourceIp;
    }
    public void setSourcePort(String sourcePort) 
    {
        this.sourcePort = sourcePort;
    }

    public String getSourcePort() 
    {
        return sourcePort;
    }
    public void setProtocol(String protocol) 
    {
        this.protocol = protocol;
    }

    public String getProtocol() 
    {
        return protocol;
    }
    public void setDestinationIp(String destinationIp) 
    {
        this.destinationIp = destinationIp;
    }

    public String getDestinationIp() 
    {
        return destinationIp;
    }
    public void setDestinationPort(String destinationPort) 
    {
        this.destinationPort = destinationPort;
    }

    public String getDestinationPort() 
    {
        return destinationPort;
    }
    public void setTargetSystem(String targetSystem) 
    {
        this.targetSystem = targetSystem;
    }

    public String getTargetSystem() 
    {
        return targetSystem;
    }
    public void setAttackType(String attackType) 
    {
        this.attackType = attackType;
    }

    public String getAttackType() 
    {
        return attackType;
    }
    public void setAttackTypeSub(String attackTypeSub) 
    {
        this.attackTypeSub = attackTypeSub;
    }

    public String getAttackTypeSub() 
    {
        return attackTypeSub;
    }
    public void setIsBanned(String isBanned) 
    {
        this.isBanned = isBanned;
    }

    public String getIsBanned() 
    {
        return isBanned;
    }
    public void setIsBlocked(String isBlocked) 
    {
        this.isBlocked = isBlocked;
    }

    public String getIsBlocked() 
    {
        return isBlocked;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("netId", getNetId())
            .append("time", getTime())
            .append("institutionCode", getInstitutionCode())
            .append("institutionShort", getInstitutionShort())
            .append("sourceIp", getSourceIp())
            .append("sourcePort", getSourcePort())
            .append("protocol", getProtocol())
            .append("destinationIp", getDestinationIp())
            .append("destinationPort", getDestinationPort())
            .append("targetSystem", getTargetSystem())
            .append("attackType", getAttackType())
            .append("attackTypeSub", getAttackTypeSub())
            .append("isBanned", getIsBanned())
            .append("isBlocked", getIsBlocked())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
